-
-
Notifications
You must be signed in to change notification settings - Fork 352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(position): improve the element positions #984
Conversation
2b68632
to
769674e
Compare
@@ -14,16 +14,67 @@ | |||
* The fact that you are presently reading this means that you have had | |||
* knowledge of the CeCILL-C license and that you accept its terms. | |||
*/ | |||
package spoon.reflect.cu; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
keep in same package
@@ -376,7 +379,30 @@ | |||
*/ | |||
SourcePosition createSourcePosition( | |||
CompilationUnit compilationUnit, | |||
int startDeclaration, int startSource, int end, int[] lineSeparatorPositions); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some doc in /doc |
bff6a48
to
118ec53
Compare
public interface SourcePosition { | ||
public interface SourcePosition extends Serializable { | ||
|
||
SourcePosition NOPOSITION = new SourcePosition() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
singleton outside, declaration here
118ec53
to
174b7bf
Compare
No description provided.